package com.sayice.robotconflict.game.msg.data.send;

import com.sayice.robotconflict.game.object.logic.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 登录信息
 *
 * @author shubing
 */
@Getter
@Setter
@ToString
public class LoginInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 简单获取函数列表
     */
    private final SimpleGetFunc[] simpleGetFuncs = SimpleGetFunc.values();
    
    /**
     * 复杂获取函数列表
     */
    private final ComplexGetFunc[] complexGetFuncs = ComplexGetFunc.values();
    
    /**
     * 设置函数列表
     */
    private final SetFunc[] setFuncs = SetFunc.values();
    
    /**
     * 比较操作符列表
     */
    private final CompareOperator[] compareOperators = CompareOperator.values();
    
    /**
     * 逻辑操作符列表
     */
    private final LogicOperator[] logicOperators = LogicOperator.values();
    
    /**
     * 玩家ID
     */
    private String playerId;
    
    public LoginInfo() {
    }
    
    public LoginInfo(String playerId) {
        this.playerId = playerId;
    }
}
